package com.itheima.dao;

import com.itheima.pojo.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

/**
 * @author Xiao
 * @date 2021/9/17
 */
@Mapper
public interface BookDao {
    @Select("select * from tb_book where id = #{id}")
    Book getById(Integer id);
}
